projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0742b9
)
* image.c (gif_load): Fix pointer signedness.
author
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 11 Mar 2011 08:01:09 +0000
(
00:01
-0800)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 11 Mar 2011 08:01:09 +0000
(
00:01
-0800)
src/ChangeLog
patch
|
blob
|
history
src/image.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index c4e44ac97115d954166b3d180ed816a75bf76f7b..561da5b2a3b1482f4308a79f98ab424242d3efb4 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-5,6
+5,7
@@
(xpm_load): Redo to avoid "discards qualifiers" gcc warning.
(x_edge_detection): Remove unnecessary cast that
gcc -Wbad-function-cast diagnoses.
+ (gif_load): Fix pointer signedness.
2011-03-11 Paul Eggert <eggert@cs.ucla.edu>
diff --git
a/src/image.c
b/src/image.c
index 810bd4be9896da64f3a3f750e2aed2929dbaf6b4..383e154b26517a3b83f14f8a2e6dcc7ae8d065c8 100644
(file)
--- a/
src/image.c
+++ b/
src/image.c
@@
-7127,7
+7127,7
@@
gif_load (struct frame *f, struct image *img)
}
/* Open the GIF file. */
- gif = fn_DGifOpenFileName (SDATA (file));
+ gif = fn_DGifOpenFileName (S
S
DATA (file));
if (gif == NULL)
{
image_error ("Cannot open `%s'", file, Qnil);